<%inherit file="/en/base.html" />

<%namespace file="/gmap.html" import="*"/>
<%namespace file="/en/wpedit.html" import="*"/>


<%def name="title()">Way points for ${ctx.j.name}</%def>
<script type="text/javascript">

function showa( diva )
{
   if (document.layers) document.layers[diva].visibility="show";
   else document.getElementById(diva).style.visibility="visible";
    return false;
}

function hideDiv(divid) {
   if (document.layers) document.layers[divid].visibility="hide";
   else document.getElementById(divid).style.visibility="hidden";
}
</script>

${wpselector_gmapjs("edit")|n}


<%def name="bodyspec()">
 onload="wpselector_initialize()" onunload="GUnload()"
</%def>

% if ctx.errors:
<table>
% for k in ctx.msg.keys():
    <tr><td style="text:#FFAAAA"><b>${k}</b></td><td>${ctx.msg[k]}</td></tr>
% endfor
</table>
% endif
<div id=forma>
    
${ wpedit()|n }

</div>

